Help > Reference > Macros > Runtime object > Cancelled property

Cancelled property

This property indicates whether the user has clicked the Cancel button on the progress dialog.

Member of

Runtime

Type

Read-Only Boolean property

Example

This example enumerates the documents in the result list, checking for user cancellation.

For Each Document in App.ActiveTab.FetchAll
  If Not Cancelled Then
    ' Do your processing here
  End If
Next

See Also

Macro Object Model

Runtime